package com.tueye.utils;

import org.junit.Before;
/**
 * 所有的单元测试需要继承此类
 * @author hanxiaowei
 *
 */
public abstract class BaseServiceTests  
{ 
	static{
		
		com.tueye.utils.ServiceLocator.setEnv("testEnv");
	}
  
	public Object getBean(String beanName)
	{    	
		return ServiceLocator.getInstance().getService(beanName);    	
    }

	@Before
	public abstract void init();
} 
